# $Id: PKGBUILD 184403 2013-05-06 19:38:20Z foutrelis $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=libgxps
pkgver=0.2.2
pkgrel=3
pkgdesc="XPS Documents library"
arch=(i686 x86_64)
url="https://live.gnome.org/libgxps"
license=('GPL2')
depends=('cairo' 'libarchive' 'libjpeg-turbo' 'libtiff' 'lcms2')
options=(!libtool)
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('39d104739bf0db43905c315de1d8002460f1a098576f4418f69294013a5820be')

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr \
    --disable-static
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
